<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<? foreach ($urls as $url): ?>
<url>
	<loc>http://<?= $_SERVER['SERVER_NAME'] ?><?= $url ?></loc>
	<lastmod><?= date('Y-m-d', time() - 60*60*24*40) ?></lastmod>
	<changefreq>monthly</changefreq>
	<priority>0.8</priority>
</url>
<? endforeach ?>
</urlset>